package com.un.ebs.product.dto;

import com.un.ebs.product.enums.ProductSaleTypeEnum;
import com.un.ebs.product.enums.ProductUnitTypeEnum;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author liubo
 * @email liubocs@163.com
 * @date 2020/3/25 11:15
 */
@Data
public class ProductBatchUpdateDto {

    @NotNull(message = "类别没有指定。")
    private String classId;

    @NotNull
    private Boolean isRecursion;

    @NotNull
    private ProductUnitTypeEnum unitType;

    @NotNull
    private ProductSaleTypeEnum saleType;

    @NotNull
    private Boolean isDeliverFlow;

    @NotNull
    private Boolean isDeliverAudit;

    private List<String> skuIds;
}
